<?php
require_once('header.php');

$strHhtml = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>SINAVE - Sistema Nacional de Vigilancia Epidemiol&oacute;gica</title>
<link href="main.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="js/prototype.js"></script>
<script language="javascript" type="text/javascript" src="js/core.js"></script>
</head>

<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<div align="center">
  <table width="780" border="0" cellpadding="0">
    <tr>
      <td width="780" height="107"><img src="images/ssa-banner.jpg" width="780" height="107" /></td>
    </tr>
    <tr>
      <td width="780" height="20">
<div id="linkBar" align="left">
	  <table width="100%" >
	  <tr>
	  	<td width="23%">
			<strong>Bienvenido(a)</strong>&nbsp;'.$usernomb.'
		</td>
	    <td width="47%" align="left"><div	id="divLogOut" 
					onclick="javascript: goToUrl(\'../menu_administrador.php\');"><strong>Inicio</strong></div>
		</td>
		<td id="logInOut" width="30%" align="right">
			<div	id="divLogOut" 
					onclick="javascript: goToUrl(\'../menu_administrador.php\');">[&nbsp;<strong>Atr&aacute;s</strong>&nbsp;]</div>
		</td>
	</tr>
  </table>
</div>
</td>
    </tr>
    <tr>
      <td>
      <div id="divBody">
        <div id="divDefaultBody" style=" width: 780px; height="120">
        <table width="780" height="120" cellpadding="0" cellspacing="0" border="0" align="center">
            <tr height="120" align="center">
                <td align="center" height="120" width="195">
                    <img src="images/users-normal-icon.jpg" onclick="javascript: goToUrl(\'m_usuarios.php\');" />
                    <div onclick="javascript: goToUrl(\'m_usuarios.php\');">Mantenimiento a Usuarios</div>
                </td>
                <td align="center" height="120" width="195">
                    <img src="images/units-normal-icon.jpg" />
                    <div>Mantenimiento a Unidades</div>
                </td>
                <td align="center" height="120" width="195">
                    <img src="../images/captura.jpg" height="100" width="100" onclick="javascript: goToUrl(\'m_avisos.php\');" />
                    <div onclick="javascript: goToUrl(\'m_avisos.php\');">Mantenimiento a Avisos</div> 
                </td>';
if ($iduser == 1077)
    {
$strHhtml .='    <td align="center" height="120" width="195">
                    <img src="../images/accept.png" height="100" width="100" onclick="javascript: goToUrl(\'../duplicados/index.php\');" />
                    <div onclick="javascript: goToUrl(\'../duplicados/index.php\');">Mantenimiento de Duplicados</div>
                </td>';
    }

$strHhtml .='<td align="center" height="120" width="195"><div>&nbsp;</div></td>
            </tr>
        </table>
		</div>
      </div>
      </td>
    </tr>
    <tr>
      <td id="StatusBar" width="780" height="20" align="left"><div id="divStatusBarMsg" align="left">&nbsp;</div></td>
    </tr>
    <tr>
      <td width="780" height="64" align=center><img src="images/ssa-footer.jpg" width="780" height="64" /></td>
    </tr>
  </table>
</div>
</body>
</html>';
print $strHhtml;
?>